package com.htjx.mall.commons.models.product;

import java.math.BigDecimal;
import java.util.Date;

import com.htjx.mall.commons.models.enums.TradeType;

/**
 * 
 * @author Administrator
 *
 */
public class ProductFlow {
	/** id **/
	private long id;
	/** 商品信息 id **/
	private long specification_id;
	/**交易类型**/
	private TradeType trade_type;
	/** 交易数量 **/
	private int quantity;
	/** 交易金额 **/
	private BigDecimal price = BigDecimal.ZERO;
	/** 交易金额 **/
	private BigDecimal amount = BigDecimal.ZERO;
	/** 描述 **/
	private String description;
	/** 创建时间 **/
	private Date create_time;
	
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getSpecification_id() {
		return specification_id;
	}
	public void setSpecification_id(long specification_id) {
		this.specification_id = specification_id;
	}
	public TradeType getTrade_type() {
		return trade_type;
	}
	public void setTrade_type(TradeType trade_type) {
		this.trade_type = trade_type;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Date getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}
	public int getQuantity() {
		return quantity;
	}
	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}
	public BigDecimal getPrice() {
		return price;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	public BigDecimal getAmount() {
		return amount;
	}
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
}
